<?php
namespace App\Animal;

class Dog extends Animal
{
	public function eat()
    {
        echo $this->color . '的' . $this->name . '吃骨头<br/>';
    }

    public function breath()
    {
        echo 'hu ha,hu ha.....<br/>';
    }

    public function sleep()
    {
        echo '在主人的床边睡<br/>';
    }

    public function scream()
    {
        echo '再动我，咬你，汪汪<br/>';
    }
}